<?php 
session_start();

if(!isset($_SESSION['user'])) 
{
    echo("<meta http-equiv='refresh'content=0;URL='login.php'>");    
    exit();
}

//echo $_SESSION['user'];

require(dirname(__FILE__)."/"."templates/index.htm");





//session_destroy();

?>